package com.fdd.op.sdk.request.api.contract.sign;

import com.fdd.op.sdk.ApiRuleException;
import com.fdd.op.sdk.BaseFddRequest;
import com.fdd.op.sdk.internal.mapping.RequestField;
import com.fdd.op.sdk.response.api.contract.sign.GetVideoUrlResponse;

import java.util.Map;

public class GetVideoUrlRequest extends BaseFddRequest<GetVideoUrlResponse> {

    @RequestField("文档在当前系统的唯一识别标识，文档在当前系统的唯一识别标识、在第三方业务系统的唯一标识不允许同时传入，只允许传一个")
    private String docId;

    @RequestField("文档在第三方业务系统的唯一标识，文档在当前系统的唯一识别标识、在第三方业务系统的唯一标识不允许同时传入，只允许传一个")
    private String tpDocId;

    @RequestField("签署方在当前系统的唯一识别标识")
    private String accountId;

    @RequestField("签暑方在第三方业务系统的准一标识")
    private String tpAccountId;

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public String getTpDocId() {
        return tpDocId;
    }

    public void setTpDocId(String tpDocId) {
        this.tpDocId = tpDocId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getTpAccountId() {
        return tpAccountId;
    }

    public void setTpAccountId(String tpAccountId) {
        this.tpAccountId = tpAccountId;
    }

    @Override
    public String getApiMethodName() {
        return "/base/api/contract/getVideoUrl";
    }

    @Override
    public Map<String, Object> getTextParams() {
        return null;
    }

    @Override
    public Class<GetVideoUrlResponse> getResponseClass() {
        return GetVideoUrlResponse.class;
    }

    @Override
    public void check() throws ApiRuleException {

    }

    @Override
    public String getHttpMethod() {
        return "GET";
    }
}
